import { defineConfig } from "vite";
import uni from "@dcloudio/vite-plugin-uni";

// https://vitejs.dev/config/
export default defineConfig({
	plugins: [uni()],

	server: {
		proxy: {
			// 字符串简写写法
			// 选项写法
			// '^/*': {
				// target: 'http://222.174.234.90:8118/yxerp',
				// changeOrigin: true,
				// rewrite: (path) => path.replace(/^\/yxerp/, '')
			// },

		}
	},
	
});
